home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Cream of the Crop 3
/
Cream of the Crop 3.iso
/
clipper
/
ks94an.zip
/
INDXFLDS.HDR
< prev
next >
Wrap
Text File
|
1994-04-25
|
1KB
|
45 lines
/******************************************************************************
The Klipper Library, for CA-Clipper 5.x
Copyright (c), 1994, Wallace Information Systems Engineering
FUNCTION:
_IndexFields() --> acFieldList
PARAMETERS:
None
SHORT:
Build an array containing field names referenced in the current index.
DESCRIPTION:
_IndexFields() parses out field names from the index key expression of
the current index of the current database in the current workarea, and
returns an array containing one field name per element.
_IndexFields() returns an empty array when an index expression contains
no field names (however that came to be), or if there was no database open,
or no index open, in the current area.
NOTE:
EXAMPLE:
USE Danger.DBF ALIAS Danger SHARED NEW
INDEX ON Weapon+Anti_Tank+Mine TO Danger
acMineFields = _IndexFields()
Result: acMineFields[] contains:
acMineFields[1] == 'WEAPON'
acMineFields[2] == 'ANTI_TANK'
acMineFields[3] == 'MINE'
******************************************************************************/